-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oauth2 feature added #67
base: main
Are you sure you want to change the base?
Conversation
Can you please take a look at failed CI? |
I take care of the followings:
Looking forward for feedback after re-CI! |
Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]> Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]> Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Update readme OpenSearchProject.md Signed-off-by: fepatrifork <[email protected]> Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
Signed-off-by: fepatrifork <[email protected]>
@fepatrifork Thanks for looking into CI failures. Can you please also add test cases, documentation and user manual? |
You're welcome. I see some other error:
For the next steps:
|
Sure, I'll take a look
Yes |
|
Description
These changes add the capability to manage the Oauth2 authentication/authorization using JWT token provided by an IdP. The modification involves different levels of the system that is possible to refer as frontend for the part of the powerBI connector that is defined in Power Query (M) and backend for the part that contains the ODBC driver logic. The modification on the frontend (PowerBI connector) comprehends the management of the Authorization Code Flow "OAUTH2" using the predefined callbacks
StartLogin, FinishLogin, Refresh, Logout
and the configuration of the flow comes from a JSON file (template provided). This level passes the token to the backend (ODBC driver) that manages the information received to make an HTTP request with a different header. The modification includes the" ODBC Data Sources Administrator" that now allows the selection of the "OAUTH2" option for inserting a token in a created field and testing the connection. The modification of the token information has a similar treatment of the password in "BASIC" during the whole logic, with adapting due to the string size of the token. After installing the re-packaged.msi
file, a system test was settled and passed using "PowerBI Desktop" and in " ODBC Data Sources Administrator" with alocalhost
database. The result of unit-test integration-test are made with the provided scripttest_runner.py
modified to exclude.recipe
extension that does not allow running all the tests. Test cases, documentation, user manual and DCO can be provided and expanded if there is an interest in this work and you consider it valuable.Issues Resolved
Added Oauth2 feature
Check List
New functionality has javadoc addedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.